package model

type SysUserOnline struct {
	EmpeeAcct string  `json:"empee_acct" gorm:"comment:工号;not null;uniqueIndex;"`
	Token     string  `json:"token" gorm:"comment:token;not null"`
	User      SysUser `json:"user" gorm:"foreignKey:EmpeeAcct;references:EmpeeAcct"`
}

type RequestGetUserOnlineList struct {
	RequestPageAndSort
	EmpeeAcct string `json:"EmpeeAcct"`
}
